/**
 *
 */
package siebes.rmi.sorter;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 * @author eddie
 *
 */
public class SortFactory extends UnicastRemoteObject implements ISortFactory {

    /**
     * Ivm consistentie classes rmi.
     */
    private static final long serialVersionUID = -6608410316179715097L;

    /**
     * Sorteerfactory returned sort methode naar keuze.
     * @throws RemoteException ivm rmi.
     */
    protected SortFactory() throws RemoteException {
        super();
        // TODO Auto-generated constructor stub
    }

    @Override
    public final ISorter createSorter() throws RemoteException {
        // TODO Auto-generated method stub
        return new QuickSort();
    }
}
